﻿@model Sahit.iSoilHotel.Portal.ServiceProxy.Tavern.Models.Account.AccountLogOnModel
@{
    ViewBag.Title = "LogOn";
}

<h1>LogOn</h1>

@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")

@using (Html.BeginForm())
{
    <div>
        <fieldset class="form">
            <legend>Account Information:@Guid.NewGuid()</legend>

            <div class="form-field">
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName, new { Value = "user", Class = "text-box single-line" })
                @Html.ValidationMessageFor(m => m.UserName)
            </div>

            <div class="form-field">
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password, new { Value = "pwd", Class = "text-box single-line" })
                @Html.ValidationMessageFor(m => m.Password)
            </div>

            <input type="submit" value="Log On" title="Log On"/>
        </fieldset>
    </div>
}
